package com.ruoyi.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 绩效考核项目对象 tqwlhr_performance_info
 * 
 * @author ruoyi
 * @date 2022-07-19
 */
public class TqwlhrPerformanceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据ID */
    private String id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Integer isOpen;

    /** 上级评分占比 */
    @Excel(name = "上级评分占比")
    private Integer superiorScoreRatio;

    /** 同级评分占比 */
    @Excel(name = "同级评分占比")
    private Integer colleaguesScoreRatio;

    /** 协同评分占比 */
    @Excel(name = "协同评分占比")
    private Integer cooperativeScoreRatio;

    /** 有效期开始 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期开始", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validityPeriodStart;

    /** 有效期结束 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期结束", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validityPeriodEnd;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String sysOrgCode;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setIsOpen(Integer isOpen) 
    {
        this.isOpen = isOpen;
    }

    public Integer getIsOpen() 
    {
        return isOpen;
    }
    public void setSuperiorScoreRatio(Integer superiorScoreRatio) 
    {
        this.superiorScoreRatio = superiorScoreRatio;
    }

    public Integer getSuperiorScoreRatio() 
    {
        return superiorScoreRatio;
    }
    public void setColleaguesScoreRatio(Integer colleaguesScoreRatio) 
    {
        this.colleaguesScoreRatio = colleaguesScoreRatio;
    }

    public Integer getColleaguesScoreRatio() 
    {
        return colleaguesScoreRatio;
    }
    public void setCooperativeScoreRatio(Integer cooperativeScoreRatio) 
    {
        this.cooperativeScoreRatio = cooperativeScoreRatio;
    }

    public Integer getCooperativeScoreRatio() 
    {
        return cooperativeScoreRatio;
    }
    public void setValidityPeriodStart(Date validityPeriodStart) 
    {
        this.validityPeriodStart = validityPeriodStart;
    }

    public Date getValidityPeriodStart() 
    {
        return validityPeriodStart;
    }
    public void setValidityPeriodEnd(Date validityPeriodEnd) 
    {
        this.validityPeriodEnd = validityPeriodEnd;
    }

    public Date getValidityPeriodEnd() 
    {
        return validityPeriodEnd;
    }
    public void setSysOrgCode(String sysOrgCode) 
    {
        this.sysOrgCode = sysOrgCode;
    }

    public String getSysOrgCode() 
    {
        return sysOrgCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectName", getProjectName())
            .append("isOpen", getIsOpen())
            .append("superiorScoreRatio", getSuperiorScoreRatio())
            .append("colleaguesScoreRatio", getColleaguesScoreRatio())
            .append("cooperativeScoreRatio", getCooperativeScoreRatio())
            .append("validityPeriodStart", getValidityPeriodStart())
            .append("validityPeriodEnd", getValidityPeriodEnd())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("sysOrgCode", getSysOrgCode())
            .toString();
    }
}
